package com.gitee.cnlongs.cnlongmq.basic.entitiy.response;

import java.io.Serializable;
import java.util.Map;

/**
 * 系统名称：CnLongMqMessage
 * 模块名称：
 * 模块描述：消息发送的实体类
 * 功能列表：
 * 模块作者：zouyong
 * 开发时间：2019年4月16日 下午2:16:40
 * 模块路径：com.gitee.cnlongs.cnlongmq.basic.entitiy.response.CnLongMqResponse
 */
public class CnLongMqResponse implements Serializable {

	/**
	 * 序列化ID
	 */
	private static final long serialVersionUID = 1L;
	
	// 消息队列名称
	private String longMqKey;
	
	// 消息内容
	private String messageContent;
	
	// 处理状态(默认为处理成功)
	private Boolean returnStatus = true;
	
	// 处理后的返回值：可以是异常的错误堆栈，也可以是正常的返回数据等
	private String returnContent;
	
	// 是否需要将消息再次发送(默认为：不再发送)
	private Boolean sendAgain = false;
	
	// 处理后的返回对象
	private Object returnObject;
	
	// 处理后的返回Map对象
	private Map<String, Object> returnMap;
	
	// 发送成功数量
	private int sendSuccNumber;
	
	// 发送失败数量
	private int sendFailNumber;

	public String getMessageContent() {
		return messageContent;
	}

	public void setMessageContent(String messageContent) {
		this.messageContent = messageContent;
	}

	public Boolean getReturnStatus() {
		return returnStatus;
	}

	public void setReturnStatus(Boolean returnStatus) {
		this.returnStatus = returnStatus;
	}

	public String getReturnContent() {
		return returnContent;
	}

	public void setReturnContent(String returnContent) {
		this.returnContent = returnContent;
	}

	public Object getReturnObject() {
		return returnObject;
	}

	public void setReturnObject(Object returnObject) {
		this.returnObject = returnObject;
	}

	public Map<String, Object> getReturnMap() {
		return returnMap;
	}

	public void setReturnMap(Map<String, Object> returnMap) {
		this.returnMap = returnMap;
	}

	public Boolean getSendAgain() {
		return sendAgain;
	}

	public void setSendAgain(Boolean sendAgain) {
		this.sendAgain = sendAgain;
	}

	public String getLongMqKey() {
		return longMqKey;
	}

	public void setLongMqKey(String longMqKey) {
		this.longMqKey = longMqKey;
	}

	public int getSendSuccNumber() {
		return sendSuccNumber;
	}

	public void setSendSuccNumber(int sendSuccNumber) {
		this.sendSuccNumber = sendSuccNumber;
	}

	public int getSendFailNumber() {
		return sendFailNumber;
	}

	public void setSendFailNumber(int sendFailNumber) {
		this.sendFailNumber = sendFailNumber;
	}

}
